#ifndef FOOD_LIST_H
#define FOOD_LIST_H

#include <QWidget>
#include <shop_1.h>

namespace Ui {
class food_list;
}

class food_list : public QWidget
{
    Q_OBJECT

public:
    explicit food_list(QWidget *parent = nullptr);
    ~food_list();
    bool eventFilter(QObject *obj, QEvent *event) override;
    void recvInt(int i);
    void recvStr(QString str);


    int num = 0;
    int num1 = 0;
    int num2 = 0;
    int num3 = 0;
    Shop_1 * m_shop;



private slots:
    void on_bt_clicked();

    void on_bt_2_clicked();

    void on_bt_3_clicked();

    void on_bt_4_clicked();

signals:
  void sendInt(int i);
  void sendInt1(int i);
  void sendInt2(int i);
  void sendInt3(int i);
  void sendStr(QString str);

private:
    Ui::food_list *ui;
};

#endif // FOOD_LIST_H
